package com.powernode.spring6.service;

import org.springframework.stereotype.Service;

/**
 * @Author 27435
 * @Date 2024/12/1414:56
 * @Version 1.0
 */

@Service("orderService")
public class OrderService { // 目标类

    // 目标方法
    public void generate(){
        System.out.println("生成订单");
//        if (1 == 1){
//            throw new RuntimeException("运行时异常");
//        }
    }

}
